package cn.pfz.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

/**
 * @Author: 普发忠
 * @Date: 2021/09/28/9:06
 */
@Data
@TableName("userinfo")
public class UserInfo extends BaseDomain {
    public static final int GENDER_SECRET=0;
    public static final int GENDER_MAN=1;
    public static final int GENDER_FEMALE=2;
    public static final int STATE_NORMAL=0;
    public static final int STATE_DISABLE=1;
    
    private String nickname;
    private String phone;
    private String email;
    // @JsonIgnore忽略密码这项
    @JsonIgnore
    private String password;
    private Integer gender=GENDER_SECRET;
    private Integer level=0;
    private String city;
    private String headImgUrl;
    private String info;
    private Integer state=STATE_NORMAL;
    
}
